import request from "@utils/request";

export function getBankList(){
    return request({
        url: "/api/system/getBankList",
        method: 'get'
    })
}

export function addCard(data){
    return request({
        url: '/api/member/setBank',
        method: "post",
        data: data
    })
}

export function getCardInfo(){
    return request({
        url: '/api/member/getUserBankInfo',
        method: "get"
    })
}
